<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateFriendLinksTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('frilk', function (Blueprint $table) {
            $table->increments('id')->comment('友链主键');
			$table->string('flkws')->comment('友链关键词');
			$table->string('flurl')->comment('网址');
			$table->string('flpic')->comment('友链图片');
			$table->text('fldesc')->comment('友链描述'); 
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('friend_links');
    }
}
